package com.zhanghe.study.springcloud2.dao;

import com.zhanghe.study.springcloud2.model.Dept;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
 * @author zh
 * @date 2021/8/19 12:18
 */
@Mapper
public interface DeptDao {
    boolean addDept(Dept dept);

    Dept findById(Long id);

    List<Dept> findAll();
}
